<template>
    <div class="progress-table">
      <div class="table">
        <div class="table-item table-body-item">
          <div class="table-item-left"></div>
          <div class="table-item-right">
            <div class="pro p-1">
              确认受理
            </div>
            <div class="pro p-2">
              调取专家
            </div>
            <div class="pro p-3">
              评审
            </div>
            <div class="pro p-4">
              办结
            </div>
          </div>
        </div>
      </div>
      <div class="table table-body">
         <el-scrollbar style="height: 100%;">
           <div class="table-item" v-for="i in 100">
             <div class="table-item-left">和二级热会和二级热会和二级热会和二级</div>
             <div class="table-item-right">
               <div class="pro p-1">
                  <div class="img"></div>
               </div>
               <div class="pro p-2">
                 <div class="img"></div>
               </div>
               <div class="pro p-3">
                 <div class="img"></div>
               </div>
               <div class="pro p-4">
                 <div class="img"></div>
               </div>
               <div class="line">
                   <div class="qiu"></div>
                   <div class="qiu2"></div>
               </div>
             </div>
           </div>
         </el-scrollbar>
      </div>
    </div>
</template>

<script>
export default {
  name: 'ProgressTable'
}
</script>

<style lang="scss" scoped>
@import "progress-table.css";
.progress-table{
  width: 100%;
  height: 100%;
  .table {
    width: 100%;
    //height: 100%;
    .table-item {
      width: 100%;
      display: flex;
      flex-direction: row;
      align-items: center;
      box-sizing: border-box;
      padding: 0 5px;
      margin-bottom: 20px;
      .table-item-left{
        width: 120px;
        font-size: 14px;
        //text-align: center;
        display: -webkit-box;
        word-break: break-all;
        text-overflow: -o-ellipsis-lastline;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
      }
      .table-item-right{
        flex: 1;
        position: relative;
        display: flex;
        flex-direction: row;
        align-items: center;
        .pro{
          flex: 1;
          text-align: center;
          position: relative;
          z-index: 5;
          .img{
            display: inline-block;
            width: 34px;
            height: 34px;
            background-color: #ccc;
            border-radius: 50%;
          }
        }
        .line{
          position: absolute;
          width: 100%;
          height: 0;
          top: 50%;
          border-top: 2px dashed #3A71A8;
          .qiu{
            position: absolute;
            width: 10px;
            height: 10px;
            background-color: #3A71A8;
            border-radius: 50%;
            top: -5px;
            left: 0;
          }
          .qiu2{
            position: absolute;
            width: 10px;
            height: 10px;
            background-color: #3A71A8;
            border-radius: 50%;
            top: -5px;
            right: 0;
          }
        }
      }
    }
    .table-body-item{
      padding: 5px 5px;
      margin-bottom: 0;
    }
  }
  .table-body{
    height: calc(100% - 30px);
  }
}
</style>
